#pragma once

#include <stdio.h>
#include <string>

#ifdef _WIN32
#ifdef MYLIB_EXPORTS
#define MYLIB_API __declspec(dllexport)
#elif MYLIB_DYNAMIC_IMPORT
#define MYLIB_API __declspec(dllimport)
#else
#define MYLIB_API
#endif
#else
#define MYLIB_API __attribute__((visibility("default")))
#endif

// 导出函数
MYLIB_API int add(int a, int b);
MYLIB_API void show(const char *image_path);
MYLIB_API int substract(int a, int b);
